import axios from "@/service/request"
export function createarticle(params) {
	return axios({
		url: '/article/create',
		method: 'POST',
		data: params || ''
	})
}
export function searchdata(params) {
	return axios({
		url: '/article',
		method: 'POST',
		data: params || ''
	})
}
export function deletearticle(params) {
	return axios({
		url: '/article/delete',
		method: 'POST',
		data: params || ''
	})
}
export function searchticlebyid(params) {
	return axios({
		url: '/article/searchbyid',
		method: 'POST',
		data: params || ''
	})
}